package com.sxbbc.common.core.entity.banks;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import javax.persistence.Transient;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2020-09-09
 */
public class BankLoan implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 贷款名称
     */
    private String loanName;

    /**
     * 1、未提交审核，2、已提交
     */
    private Integer status;

    /**
     * 备注
     */
    private String remake;

    /**
     * 创建人
     */
    private String founder;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;


    private String bankLoanId;


    /**
     * 详情
     */
    private String loanDetails;

    /**
     *提交审核是否通过： 1、通过，2、未通过
     */
    private Integer isPass;


    public String getBankLoanId() {
        return bankLoanId;
    }

    public void setBankLoanId(String bankLoanId) {
        this.bankLoanId = bankLoanId;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getLoanName() {
        return loanName;
    }

    public void setLoanName(String loanName) {
        this.loanName = loanName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRemake() {
        return remake;
    }

    public void setRemake(String remake) {
        this.remake = remake;
    }

    public String getFounder() {
        return founder;
    }

    public void setFounder(String founder) {
        this.founder = founder;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getLoanDetails() {
        return loanDetails;
    }

    public void setLoanDetails(String loanDetails) {
        this.loanDetails = loanDetails;
    }


    @Override
    public String toString() {
        return "BankLoan{" +
                "id=" + id +
                ", loanName='" + loanName + '\'' +
                ", status=" + status +
                ", remake='" + remake + '\'' +
                ", founder='" + founder + '\'' +
                ", createTime=" + createTime +
                ", bankLoanId='" + bankLoanId + '\'' +
                ", loanDetails='" + loanDetails + '\'' +
                '}';
    }
}
